<form name="complexForm">
<div ng-init="vm.init()" fs-aside>
	<table class="table">
		<tr>
			<td width="5%">icon</td>
			<td width="5%">type</td>
			<td width="20%">column1</td>
			<td width="20%">column2</td>
			<td width="20%">column3</td>
			<td width="20%">column4</td>
			<td width="10%">column5</td>
		</tr>
		<tr ng-repeat="item in vm.data track by $index">
			<td colspan="6" style="padding: 0">
				<table class="table">
					<tr>
						<td width="5%">icon</td>
						<td width="5%">{{item.type}}</td>
						<td width="20%">{{item.column1}}</td>
						<td width="20%">{{item.column2}}</td>
						<td width="20%">{{item.column3}}</td>
						<td width="20%">{{item.column4}}</td>
						<td width="10%" ng-click="isCollapsed=!isCollapsed"><i class="glyphicon" ng-class="{'glyphicon-chevron-down': !isCollapsed, 'glyphicon-chevron-right': isCollapsed}"></i></td>
					</tr>
					<tr uib-collapse="isCollapsed">
						<td width="5%">icon</td>
						<td width="95%" colspan="6">
							<fs-grid-layout ng-model="item" fs-config="vm.layoutConfig[item.type]"></fs-grid-layout>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
</form>
